

/* 新增的程序分组样式 */
.program-group {
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
}

.program-header {
    padding: 10px;
    color: white;
    font-weight: bold;
}

.program-content {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
    padding: 10px;
    background-color: #f9f9f9;
}

/* 不同程序的色块颜色 */
.program-1 .program-header { background-color: #3498db; }
.program-2 .program-header { background-color: #2ecc71; }
.program-3 .program-header { background-color: #e74c3c; }
.program-4 .program-header { background-color: #f39c12; }

/* 调整商品输入项样式 */
.product-input {
    padding: 10px;
    background-color: white;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.product-input label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #333;
}

.product-input input {
    width: 100%;
    padding: 5px;
    border: 1px solid #ddd;
    border-radius: 3px;
}

/* 新增多批次相关样式 */
.batch-result {
    margin-bottom: 30px;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #fafafa;
}

.summary-section {
    margin-bottom: 20px;
    padding: 15px;
    background-color: #f0f7ff;
    border-radius: 5px;
}

.summary-section table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.summary-section th, 
.summary-section td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}

.summary-section th {
    background-color: #3498db;
    color: white;
}

.summary-section tr:nth-child(even) {
    background-color: #f2f2f2;
}

/* 按钮样式优化 */
#calculate-btn, #reset-btn {
    padding: 20px 30px;
    font-size: 1.5em;
    font-weight: bold;
    font-family: inherit;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    flex: 1;
    text-align: center;
    transition: background-color 0.3s;
    height: 80px; /* 增大按钮高度 */
}

#calculate-btn {
    background-color: #00A0FF; /* 超值蓝 */
}

#calculate-btn:hover {
    background-color: #038ede;
}

#reset-btn {
    background-color: #FFD519; /* 超值黄 */
}

#reset-btn:hover {
    background-color: #deba1b;
}

.input-controls {
    display: flex;
    gap: 15px;
    margin: 20px 0;
}

/* 输出结果布局优化 */
.batch-result {
    margin-bottom: 30px;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #fafafa;
}

.batch-ovens {
    display: flex;
    gap: 20px;
    margin-top: 15px;
}

.oven-result {
    flex: 1;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #f0f7ff;
}

.chamber-result {
    margin: 10px 0;
    padding: 10px;
    background-color: #ebf5fb;
    border-radius: 4px;
}